class ShopOrder4AppShowEntity {
//ID
  String id = "";
  //类型
  String type = "";
  //商品规格标识
  String commoditySpecId = "";
  //本次单价
  String shopPrice = "";
  //规格
  String optsDetail = "";
//购买数量
  String shopCt = "";
  //购买总价
  String shopAllPrice = "";
  //定单状态
  String orderState = "";
  //所选收货信息标识
  String getGoodsInfoId = "";
  //定单状态名称*
  String orderStateName = "";
  //商品名称*
  String name = "";
  //商品图文说明*
  String remark = "";
  //已销售数量*
  String hadShopCt = "";
  //收货省份名称*
  String provName = "";
  //收货城市名称*
  String cityName = "";
  //收货区县名称*
  String townName = "";
  //收货街道名称*
  String streetName = "";
  //收货小区名称*
  String communityName = "";
  //收货详细地址*
  String address = "";
  //联系人姓名*
  String getGoodsManName = "";
  //联系人电话*
  String getGoodsManPhone = "";
  //创建时间
  String createDate = "";
  //支付选项")
  String payOption = "";
  //用户与团规格关联标识，注意对于复购的商品此值必须传。如何传？未支付的定单打开重新支付时前端将此值原原本本传回来")
  String custGroupsRelaId;
  //支付选项名称")
  String payOptionName = "";
  //支付时间
  String payDate = "";
  //图片URL列表
  List<String> lstImgUrl = [];
  //商品详情图片URL列表"
  List<String> lstRemarkImgUrl = [];
//支付选项，Y表示从本系统内部账户支付
  String payByInnAcct = "";

  //是否发货
  String hadSend = "";
  //订单状态
  String hadSendName = "";
  //快递单号
  String kuaiDiNo = "";
  //快递公司名称
  String kuaiDiTypeName = "";

  ShopOrder4AppShowEntity(
      {this.id,
      this.payDate,
      this.payOption,
      this.payOptionName,
      this.custGroupsRelaId,
      this.commoditySpecId,
      this.payByInnAcct,
      this.shopPrice,
      this.optsDetail,
      this.shopCt,
      this.shopAllPrice,
      this.orderState,
      this.getGoodsInfoId,
      this.orderStateName,
      this.name,
      this.remark,
      this.hadShopCt,
      this.provName,
      this.cityName,
      this.townName,
      this.streetName,
      this.communityName,
      this.address,
      this.getGoodsManName,
      this.getGoodsManPhone,
      this.createDate,
      this.type,
      this.hadSend,
      this.hadSendName,
      this.kuaiDiNo,
      this.kuaiDiTypeName,
      this.lstImgUrl});

  ShopOrder4AppShowEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    hadSend = json['hadSend'];
    kuaiDiNo = json['kuaiDiNo'];
    hadSendName = json['hadSendName'];
    payDate = json['payDate'];
    kuaiDiTypeName = json['kuaiDiTypeName'];
    payOption = json['payOption'];
    payOptionName = json['payOptionName'];
    custGroupsRelaId = json['custGroupsRelaId'];
    commoditySpecId = json['commoditySpecId'];
    shopPrice = json['shopPrice'];
    optsDetail = json['optsDetail'];
    shopCt = json['shopCt'];
    shopAllPrice = json['shopAllPrice'];
    orderState = json['orderState'];
    getGoodsInfoId = json['getGoodsInfoId'];
    orderStateName = json['orderStateName'];
    name = json['name'];
    remark = json['remark'];
    hadShopCt = json['hadShopCt'];
    provName = json['provName'];
    cityName = json['cityName'];
    townName = json['townName'];
    streetName = json['streetName'];
    communityName = json['communityName'];
    address = json['address'];
    getGoodsManName = json['getGoodsManName'];
    getGoodsManPhone = json['getGoodsManPhone'];
    createDate = json['createDate'];
    payByInnAcct = json['payByInnAcct'];
    if (json['lstImgUrl'] != null) {
      lstImgUrl = new List<String>();
      json['lstImgUrl'].forEach((v) {
        lstImgUrl.add(v);
      });
    }

    if (json['lstRemarkImgUrl'] != null) {
      lstRemarkImgUrl = new List<String>();
      json['lstRemarkImgUrl'].forEach((v) {
        lstRemarkImgUrl.add(v);
      });
    }
    type = json['type'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['payOption'] = this.payOption;
    data['payOptionName'] = this.payOptionName;
    data['custGroupsRelaId'] = this.custGroupsRelaId;
    data['commoditySpecId'] = this.commoditySpecId;
    data['shopPrice'] = this.shopPrice;
    data['shopCt'] = this.shopCt;
    data['optsDetail'] = this.optsDetail;
    data['shopAllPrice'] = this.shopAllPrice;
    data['orderState'] = this.orderState;
    data['getGoodsInfoId'] = this.getGoodsInfoId;
    data['orderStateName'] = this.orderStateName;
    data['name'] = this.name;
    data['remark'] = this.remark;
    data['hadShopCt'] = this.hadShopCt;
    data['provName'] = this.provName;
    data['cityName'] = this.cityName;
    data['townName'] = this.townName;
    data['streetName'] = this.streetName;
    data['communityName'] = this.communityName;
    data['address'] = this.address;
    data['getGoodsManName'] = this.getGoodsManName;
    data['getGoodsManPhone'] = this.getGoodsManPhone;
    data['createDate'] = this.createDate;
    data['type'] = this.type;
    if (this.lstImgUrl != null) {
      data['lstImgUrl'] = this.lstImgUrl.map((v) => v).toList();
    }

    if (this.lstRemarkImgUrl != null) {
      data['lstRemarkImgUrl'] = this.lstRemarkImgUrl.map((v) => v).toList();
    }
    data['payByInnAcct'] = this.payByInnAcct;
    data['payDate'] = this.payDate;
    return data;
  }
}
